<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--表格写边框-->
<!--cellspacing设置单元格距离-->
<table border="1px" align="center" width="50%" cellspacing="0px">
    <!--行-->
    <tr>
        <!--单元格-->
        <th>编号</th>
        <th >姓名</th>
        <th>性别</th>
        <th>成绩</th>
    </tr>
    <tr align="center">
        <!--单元格-->
        <td >1</td>
        <td >小龙女</td>
        <td>女</td>
        <td>100</td>

    </tr>
    <tr align="center">
        <!--单元格-->
        <td >2</td>
        <td >杨过</td>
        <td>男</td>
        <td rowspan="2">90</td>
    </tr>
    <tr align="center">
        <!--单元格-->
        <td >2</td>
        <td >金轮法王</td>
        <td>男</td>
    </tr>
    <tr align="center">
        <!--单元格-->
        <td >总成绩</td>
        <td colspan="3">190</td>

    </tr>
</table>
</body>
</html>